<%--
  User: Shengzhao Li
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<c:forEach items="${thingHistoryDto.list}" var="t">
    <li>
        <a href="details/${t.guid}">
            <h3>${t.content} </h3>

            <p>优先级: <strong class="${t.priorityCssStyle}">${t.priority.label}</strong></p>

            <p>创建时间: ${t.createTime}
                <c:if test="${not empty t.eventName}">
                    | 事件: ${t.eventName}
                </c:if>
            </p>

            <p>
                <c:if test="${not empty t.cancelTime}">
                    取消时间: ${t.cancelTime}
                </c:if>
                <c:if test="${not empty t.endTime}">
                    结束时间: ${t.endTime}
                </c:if>
            </p>

            <p class="ui-li-aside">${t.startDate}</p>
        </a>
    </li>
</c:forEach>
